<div class="layui-inline">
    <label class="layui-form-label">用户名：</label>
    <div class="layui-input-inline">
        <input name="username" class="layui-input" id="username"/>
    </div>
</div>
<div class="layui-inline">
    <label class="layui-form-label">姓名：</label>
    <div class="layui-input-inline">
        <input name="name" class="layui-input" id="name"/>
    </div>
</div>
<div class="layui-inline">
    <label class="layui-form-label">手机号：</label>
    <div class="layui-input-inline">
        <input name="phone" class="layui-input" id="phone"/>
    </div>
</div>
<div class="layui-inline">
    <label class="layui-form-label">邮箱：</label>
    <div class="layui-input-inline">
        <input name="email" class="layui-input" id="email"/>
    </div>
</div>
<div class="layui-inline">
    <label class="layui-form-label">角色：</label>
    <div class="layui-input-inline">
        <select name="role" id="role">
            <option value="0">全部</option>
            @foreach($roles as $role)
                <option value="{{$role['name']}}">{{$role['name']}}</option>
            @endforeach
        </select>
    </div>
</div>
<div class="layui-inline">
    <label class="layui-form-label">状态：</label>
    <div class="layui-input-inline">
        <select name="status" id="status">
            <option value="0">全部</option>
            <option value="1">启用</option>
            <option value="2">禁用</option>
        </select>
    </div>
</div>
<div class="layui-inline">
    <button class="layui-btn layui-btn-primary" id="search"/>搜索</button>
    <button class="layui-btn layui-btn-primary" id="refresh"/>刷新</button>
    <a class="layui-btn layui-btn-primary" href="{{ route('admin.system.user.createForm') }}">添 加</a>
</div>
